/**
 * ____________________ *
 *  ____ ____ ____ _  _ *
 *  |___ [__] |--< |\/| *
 * ____________________ *
 *
 * THE CORM PROJECT
 *
 * This file may only be used in accordance with the
 * terms of the Academic Free License ("AFL") v. 3.0,
 * as published by the Open Software Initiative.  A
 * copy of this license is provided in this source
 * release, and may be viewed online at:
 *
 * (http://www.opensource.org/licenses/afl-3.0.php)
 */
package org.eremite.corm.party.address;

import org.eremite.corm.Archetype;
import org.eremite.corm.party.Party;
import org.eremite.corm.party.UniqueIdentifier;

import java.util.Date;
import java.util.Set;

public interface Address extends Archetype {

    public UniqueIdentifier getID();
    public void setID(UniqueIdentifier id);

    public Date getValidFrom();
    public void setValidFrom(Date validFrom);

    public Date getValidTo();
    public void setValidTo(Date validTo);

    /* Every address is associated with one or more Party */
    public Set<Party> getParties();
    public void setParties(Set<Party> parties);

}
